package com.yzjs.enumeration;




public class OrderQueryRequest {
    private BestPayPlatformEnum platformEnum;
    private String orderId = "";
    private String outOrderId = "";

    public OrderQueryRequest() {
    }

    public BestPayPlatformEnum getPlatformEnum() {
        return this.platformEnum;
    }

    public String getOrderId() {
        return this.orderId;
    }

    public String getOutOrderId() {
        return this.outOrderId;
    }

    public void setPlatformEnum(BestPayPlatformEnum platformEnum) {
        this.platformEnum = platformEnum;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public void setOutOrderId(String outOrderId) {
        this.outOrderId = outOrderId;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OrderQueryRequest)) {
            return false;
        } else {
            OrderQueryRequest other = (OrderQueryRequest)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label47: {
                    Object this$platformEnum = this.getPlatformEnum();
                    Object other$platformEnum = other.getPlatformEnum();
                    if (this$platformEnum == null) {
                        if (other$platformEnum == null) {
                            break label47;
                        }
                    } else if (this$platformEnum.equals(other$platformEnum)) {
                        break label47;
                    }

                    return false;
                }

                Object this$orderId = this.getOrderId();
                Object other$orderId = other.getOrderId();
                if (this$orderId == null) {
                    if (other$orderId != null) {
                        return false;
                    }
                } else if (!this$orderId.equals(other$orderId)) {
                    return false;
                }

                Object this$outOrderId = this.getOutOrderId();
                Object other$outOrderId = other.getOutOrderId();
                if (this$outOrderId == null) {
                    if (other$outOrderId != null) {
                        return false;
                    }
                } else if (!this$outOrderId.equals(other$outOrderId)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof OrderQueryRequest;
    }



    public String toString() {
        return "OrderQueryRequest(platformEnum=" + this.getPlatformEnum() + ", orderId=" + this.getOrderId() + ", outOrderId=" + this.getOutOrderId() + ")";
    }
}

